package io.geekidea.springbootplus.system.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.geekidea.springbootplus.framework.core.validator.groups.Update;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@Accessors(chain = true)
@ApiModel(value = "SysMemberQueryVo对象", description = "会员视图对象")
public class SysMemberQueryVo implements Serializable {

    private static final long serialVersionUID = 4512144476235648486L;

    @ApiModelProperty("主键")
    private Integer id;

    @ApiModelProperty("授权用户唯一标识")
    private String openid;

    @ApiModelProperty("会员昵称")
    private String nickName;

    @ApiModelProperty("电子邮箱")
    private String email;

    @ApiModelProperty("手机号码")
    private String phone;

    @ApiModelProperty("会员积分")
    private Integer integral;

    @ApiModelProperty("折扣")
    private double discount;

    @ApiModelProperty("余额")
    private BigDecimal balance;

    @ApiModelProperty("会员卡号")
    private String cardNumber;

    @ApiModelProperty("头像地址")
    private String avatarUrl;

    @ApiModelProperty("性别")
    private Integer gender;

    @ApiModelProperty("创建时间")
    private LocalDateTime createdTime;

    @ApiModelProperty("会员删除标记")
    private Integer deleted;


}
